package com.d09cnpm2.group8.ar;

import android.app.Activity;
import android.os.Bundle;
import android.view.WindowManager;
import android.widget.Toast;

import com.wikitude.architect.ArchitectView;

public class ARMainActivity extends Activity{
CustomCamera cv;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
//	cv = new CustomCamera(
//	         this.getApplicationContext());
//	      FrameLayout rl = new FrameLayout(
//	         this.getApplicationContext());
//	      setContentView(rl);
//	      rl.addView(cv);
	this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
		  WindowManager.LayoutParams.FLAG_FULLSCREEN );
	if(!ArchitectView.isDeviceSupported(this))
	 {
	   Toast.makeText(this,"minimum requirements not fulfilled", Toast.LENGTH_LONG).show();
	   this.finish();
	   return;
	 }
	
    }

}
